package com.ruoyi.teacher.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 排班对象 t_schedule
 * 
 * @author wwb
 * @date 2022-12-25
 */
public class Schedule extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 排班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date scheduleTime;

    /** 校区 */
    @Excel(name = "校区")
    private String campus;

    /** 老师名字 */
    @Excel(name = "老师名字")
    private String teacherName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setScheduleTime(Date scheduleTime) 
    {
        this.scheduleTime = scheduleTime;
    }

    public Date getScheduleTime() 
    {
        return scheduleTime;
    }
    public void setCampus(String campus) 
    {
        this.campus = campus;
    }

    public String getCampus() 
    {
        return campus;
    }
    public void setTeacherName(String teacherName) 
    {
        this.teacherName = teacherName;
    }

    public String getTeacherName() 
    {
        return teacherName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("scheduleTime", getScheduleTime())
            .append("campus", getCampus())
            .append("teacherName", getTeacherName())
            .toString();
    }
}
